﻿using PmSoft.FormSchema.Attributes;
using System.ComponentModel.DataAnnotations;

namespace Demo.PetaPoco.Application.Dtos.Dept;

[FormName("deptEditModel")]
public class DeptEditModel : DeptCreateModel
{
	[Display(Name = "单位ID")]
	[Required(ErrorMessage = "{0}为必填项")]
	[IgnoreInForm]
	public int? DeptId { get; set; }

}
